package problem;

public class MathApplication {
    public static void showShapePerimeter(Shape shape) {
        System.out.println( "周长为:" + shape.getOutline());
    }
    public static void showShapeArea(Shape shape) {
        System.out.println( "面积为:" + shape.getArea());
    }
}
